package com.sdy.resdir.biz.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author hyh
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "IpImpleOrderVo", description = "IP实施工单" )
public class IpImpleOrderVo {

    @ApiModelProperty("实施工单id")
    private Integer id;

    @ApiModelProperty("实施工单单号")
    private String orderNo;

    @ApiModelProperty("自建系统名称")
    private String sysName;

    @ApiModelProperty("Ip")
    private String oldIP;

    @ApiModelProperty("发起人id")
    private Integer userId;

    @ApiModelProperty("发起人名称")
    private String userName;

    @ApiModelProperty("创建日期")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("实施工单状态")
    private Integer state;

}
